package com.example.easybuy.service;

import com.example.easybuy.entity.User;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface UserService {
    User findUser(String loginName);

    boolean register(Map<String,Object> map);

    boolean updateUser(Map<String,Object> map);

    boolean delUser(int id);

    PageInfo<User> userByPage(Map<String,Object> map);

}
